package com.itcam.cammydada.scoring;

import com.itcam.cammydada.model.entity.App;
import com.itcam.cammydada.model.entity.UserAnswer;

import java.util.List;

/**
 * Author:Cammy.Wu
 * Date:2024-06-28
 * Description:评分策略
 */

public interface ScoringStrategy {
    /**
     * 评分
     * @param choices
     * @param app
     * @return
     * @throws Exception
     */
    UserAnswer doScore(List<String> choices, App app) throws Exception;
}
